package com.fy.market.persistent.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 奖品实体类
 * @author fwq
 * @date 2025-09-03
 * @desc 奖品实体类
 * @TableName: award
 * @Package: com.fy.market.model.entity
 */
@Data
@TableName("award")
public class Award implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 奖品KEY
     */
    @TableField("award_key")
    private String awardKey;
    /**
     * 奖品配置
     */
    @TableField("award_config")
    private String awardConfig;
    /**
     * 奖品描述
     */
    @TableField("award_desc")
    private String awardDesc;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * 奖品状态 1-启用 0-禁用
     */
    @TableField("status")
    private Integer status;
    /**
     * 更新时间
     */
    @TableField("update_time")
    private Date updateTime;
}
